import 'package:flutter_deer/generated/json/user_score_deposit_entity.g.dart';
import 'package:flutter_deer/generated/json/base/json_field.dart';

@JsonSerializable()
class UserScoreDepositEntity {

  UserScoreDepositEntity();

  factory UserScoreDepositEntity.fromJson(Map<String, dynamic> json) => $UserScoreDepositEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserScoreDepositEntityToJson(this);

  String? id;
  String? bankId;
  String? bankName;
  String? bankLogo;
  String? bankUserName;
  String? cardNo;
  double? score;
  double? beforeScore;
  String? status;
  String? remark;
  String? createTimeStr;
  String? approvalTimeStr;

}

@JsonSerializable()
class UserScoreDepositPageEntity {

  UserScoreDepositPageEntity();

  factory UserScoreDepositPageEntity.fromJson(Map<String, dynamic> json) => $UserScoreDepositPageEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserScoreDepositPageEntityToJson(this);

  int? total;
  int? size;
  int? current;
  int? pages;
  List<UserScoreDepositEntity>? records;
}

@JsonSerializable()
class BelowUserScoreDepositEntity {

  BelowUserScoreDepositEntity();

  factory BelowUserScoreDepositEntity.fromJson(Map<String, dynamic> json) => $BelowUserScoreDepositEntityFromJson(json);

  Map<String, dynamic> toJson() => $BelowUserScoreDepositEntityToJson(this);

  double? score;
  double? beforeScore;
  String? createTime;
  String? updateTime;
  String? avatar;
  String? accountId;
  String? username;

}

@JsonSerializable()
class BelowUserScoreDepositPageEntity {

  BelowUserScoreDepositPageEntity();

  factory BelowUserScoreDepositPageEntity.fromJson(Map<String, dynamic> json) => $BelowUserScoreDepositPageEntityFromJson(json);

  Map<String, dynamic> toJson() => $BelowUserScoreDepositPageEntityToJson(this);

  int? total;
  int? size;
  int? current;
  int? pages;
  List<BelowUserScoreDepositEntity>? records;
}

@JsonSerializable()
class BelowUserScoreDepositStatisticsEntity {

  BelowUserScoreDepositStatisticsEntity();

  factory BelowUserScoreDepositStatisticsEntity.fromJson(Map<String, dynamic> json) => $BelowUserScoreDepositStatisticsEntityFromJson(json);

  Map<String, dynamic> toJson() => $BelowUserScoreDepositStatisticsEntityToJson(this);

  double? totalScore;
  int? totalTimes;

}
